package com.slmxz.tms.document.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;
import com.slmxz.tms.common.base.BaseEntity;

/**
 * 承运商信息实体对象
 * @author sunyao
 * @Date 2024-11-15
 */
@Getter
@Setter
@TableName("tbl_contractor")
public class Contractor extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;
    /**
     * 承运商名称
     */
    private String contractorName;
    /**
     * 承运商简称
     */
    private String contractorSimpleName;
    /**
     * 承运商类型:1 = 自有承运商，2=外协承运商
     */
    private Integer contractorType;
    /**
     * 承运商地址
     */
    private String contractorAddr;
    /**
     * 备注
     */
    private String remark;
    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    private Integer isDeleted;
}
